<%@page import="com.mmy.domain.scenic.TScenicBase"%>
<%@page import="com.mmy.domain.scenic.TScenicOrder"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>

<title>景点信息</title>
</head>
<body>
	
	<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
		<div id="menu-back">
			<main class="at-padding-large-bottom">
			<article>		
	<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
		<div class="page-header container">
			<h2>景点信息</h2>			
		</div>
	</header>
	<section class="container">
			<div class="information">
			<h4 class="info-h4">
			<i class="fa fa-caret-right" aria-hidden="true" ></i>景点详细信息
			</h4>
				<div class="input-container">
				<table class="info-table" >
					
				<tr>
					<th><label>景区名称</label></th>
					<td>
						
						<label>${dbScenicBase.getScenicName()}</label>
					</td>
					<th><label>景区星级</label></th>
					<td>
						<label>${dbScenicBase.getRate()}</label>
					</td>
					
				</tr>
				<tr>
					<th><label>区域名称</label></th>
					<td>
						<label>${strProvince }${strCity }${dbScenicBase.getZoneName()}</label>
					</td>
					<th><label>景区地址</label></th>
					<td>
						<label>${dbScenicBase.getAddress()}</label>
					</td>
					
				</tr>
				<tr>
					<th><label>联系人</label></th>
					<td>
						<label>${dbScenicBase.getContact()}</label>
					</td>
					<th><label>联系电话</label></th>
					<td>
						<label>${dbScenicBase.getTel()}</label>
					</td>
					
				</tr>
				<tr>
					<th><label>所属公司</label></th>
					<td colspan="3">
						<label>${strOrgName}</label>
					</td>
					
				</tr>
				<tr>
					<th><label>景区介绍</label></th>
					<td colspan="3">
						<label>${dbScenicBase.getIntro()}</label>
					</td>
					
				</tr>
				<tr>
				<th><label>景区图片</label></th>
					<td colspan="3">
					    <img id="imges" alt="" src="imges/${dbScenicBase.getImgPath()}">

					</td>
				</tr>
				<tr>
					<th><label>备注</label></th>
					<td colspan="3">
						<label>${dbScenicBase.getMemo()}</label>
					</td>
				</tr>	
					
				</table>
				
						
							
				</div>
				
				<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>电子票计划
						</h4>
				<div class="input-container">
				<table class="info-table" >
					<tr>
						
						<th><label>票种</label></th>
						<th><label>开始日期</label></th>			
						<th><label>结束日期</label></th>
						<th><label>底价</label></th>
						<th><label>同业价</label></th>
						<th><label>对外报价</label></th>			
						<th><label>数量</label></th>			
						<th><label>备注</label></th>			
					
					</tr>
					<c:forEach var="lstScenicPlan" items="${lstScenicPlan}">
					<tr>
						
						<td><label>${lstScenicPlan.getTicketName()}</label>
						</td>
						<td>
						<fmt:formatDate value='${lstScenicPlan.getStartDate()}' pattern='yyyy-MM-dd'/>
						</td>
						<td>
						<fmt:formatDate value='${lstScenicPlan.getEndDate()}' pattern='yyyy-MM-dd'/>
						</td>
						<td><label>${lstScenicPlan.getFloor()}</label></td>
						<td><label>${lstScenicPlan.getPeer()}</label></td>
						<td><label>${lstScenicPlan.getPrice()}</label></td>
						
						<td><label>${lstScenicPlan.getNumber()}</label></td>
						<td><label>${lstScenicPlan.getMemo()}</label></td>
					</tr>
				</c:forEach>	
				</table>
				</div>	
					<center>
				
				<input type="button" class="btn" value="返回" onclick="rehidder()"/>
				</center> 	
			
				
			</div>
			</section>
			</article>
			</main>
			</div>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
		</div>
		
		<!-- Main Slider -->
<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
</body>
</html>